package com.systemframework.pay.service;

import com.systemframework.pay.model.PayOrderRequestDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author summer
 * @date 2023-06-08 9:20
 */
public interface PayCommon {

    /**
     * 扫码支付
     * @param payOrderRequestDTO
     * @param request
     * @return
     */
     String nativePay(PayOrderRequestDTO payOrderRequestDTO, HttpServletRequest request);

    /**
     * app支付
     * @param payOrderRequestDTO
     * @return
     */
     Map<String, Object> appPay(PayOrderRequestDTO payOrderRequestDTO);


    /**
     * h5支付
     * @param payOrderRequestDTO
     * @return
     */
    String h5Pay(PayOrderRequestDTO payOrderRequestDTO,HttpServletRequest request);

}
